import React from 'react'
import CompileRoute from "../../router/compile"
import { Link} from 'react-router-dom'
// import routes from "../../router/routes"                                         
export default function PayManagement(props){
    console.log(props);
    return(
        <fieldset>
            <legend>交易管理</legend>
             <Link to="/pay-management/pay-ways">支付方式</Link>
            <CompileRoute  routes={props.routes} isChildRoute={true}/> 
            {/* <Route  component={(props)=><CompileRoute routes={routes}{...props}/>}/> */}
        </fieldset>
    )
}